// // import axios from 'axios'

// const { turn } = require("mock/user");




// // let btn = document.querySelector('button')

// // console.log(btn);
// // axios({
// //     url: 'http://39.98.123.211/admin/acl/index/login',
// //     method: 'post'
// // }).then((reponse) => {
// //     let { data } = reponse
// //     console.log();
// // }).catch((err) => {
// //     console.log(err);
// // })


// let a = document.querySelector('#statesSelection');


// console.log(a.options[1].value);
// var arr = ['/states/AK/intro.htm', '/states/AR/intro.htm', '/states/CO/intro.htm', '/states/DE/intro.htm', '/states/GA/intro.htm', '/states/ID/intro.htm', '/states/IN/intro.htm', '/states/KS/intro.htm', '/states/LA/intro.htm', '/states/MD/intro.htm', '/states/MI/intro.htm', '/states/MS/intro.htm', '/states/MT/intro.htm', '/states/NV/intro.htm', '/states/NJ/intro.htm', '/states/NY/intro.htm', '/states/ND/intro.htm', '/states/OK/intro.htm', '/states/PA/intro.htm', '/states/SC/intro.htm', '/states/TN/intro.htm', '/states/UT/intro.htm', '/states/VA/intro.htm', '/states/WV/intro.htm', '/states/WY/intro.htm']
// for (i = 1; i < arr.length; i++) {
//     let a = `https://www.senate.gov${arr[0]}`;

//     window.open(a);
// }

// console.log(arr);



// var i = 5
// var a = 3
// let c = 6
// if (a = 3) {
//     c = 8
//     i = 6

//     console.log(i);
//     console.log(c);
// }

// console.log(c);






let arr2 = [
    { "id": 7, "spuId": 2, "imgName": "2b78b6fdabfd2fbe.jpg", "imgUrl": "http://39.98.123.211/group1/M00/00/01/rBHu8l-rgJqAHPnoAAF9hoDNfsc505.jpg", "isDefault": 0 },
    { "id": 8, "spuId": 2, "imgName": "5d5c57ab443f5fbb.jpg", "imgUrl": "http://39.98.123.211/group1/M00/00/02/rBHu8l-rgJqAbNFZAADi9nT5SuM524.jpg", "isDefault": 0 },
    { "id": 9, "spuId": 2, "imgName": "cef3c55b8caad783.jpg", "imgUrl": "http://39.98.123.211/group1/M00/00/02/rBHu8l-rgJqAMq2nAAGtjwY17fA932.jpg", "isDefault": 0 },
    { "id": 10, "spuId": 2, "imgName": "6eaaecc91b9ad059.jpg", "imgUrl": "http://39.98.123.211/group1/M00/00/02/rBHu8l-rgJqAXjRKAAFpxKwrSvY886.jpg", "isDefault": 0 },
    { "id": 11, "spuId": 2, "imgName": "b7bea7af48e935fd.jpg", "imgUrl": "http://39.98.123.211/group1/M00/00/02/rBHu8l-rgJqARA19AAFuZ18W_ks439.jpg", "isDefault": 0 }]
let arr = [5, 8, 5, 8, 5, 8,]
let newArr = arr2.map((item) => {

    return 5
})

console.log(newArr);